package judesart.app.shared;

@SuppressWarnings("deprecation")
public class ValidationException_FieldSerializer {
  public static void deserialize(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader, judesart.app.shared.ValidationException instance) throws com.google.gwt.user.client.rpc.SerializationException{
    instance.errors = (java.util.List) streamReader.readObject();
    
    com.google.gwt.user.client.rpc.core.java.lang.Exception_FieldSerializer.deserialize(streamReader, instance);
  }
  
  public static native judesart.app.shared.ValidationException instantiate(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader) throws com.google.gwt.user.client.rpc.SerializationException/*-{
    return @judesart.app.shared.ValidationException::new()();
  }-*/;
  
  public static void serialize(com.google.gwt.user.client.rpc.SerializationStreamWriter streamWriter, judesart.app.shared.ValidationException instance) throws com.google.gwt.user.client.rpc.SerializationException {
    streamWriter.writeObject(instance.errors);
    
    com.google.gwt.user.client.rpc.core.java.lang.Exception_FieldSerializer.serialize(streamWriter, instance);
  }
  
}
